# -*- coding: utf-8 -*-
from flask import Blueprint, render_template
from webLib.LibData import solution

chartView = Blueprint('chartView', __name__)


@chartView.route('/chartView/lineChart')
def showLineChart():
    return render_template("/chartView/lineChart.html", weblib=solution['basic_all']+solution['angular-chart'])

@chartView.route('/chartView/barChart')
def showbarChart():
    return render_template("/chartView/barChart.html", weblib=solution['basic_all']+solution['angular-chart'])



@chartView.route('/chartView/pieChart')
def showPieChart():
    return render_template("/chartView/pieChart.html", weblib=solution['basic_all']+solution['angular-chart'])


@chartView.route('/chartView/radarChart')
def showRadarChart():
    return render_template("/chartView/radarChart.html", weblib=solution['basic_all']+solution['angular-chart'])

@chartView.route('/chartView/doughnutChart')
def showDoughnutChart():
    return render_template("/chartView/doughnutChart.html", weblib=solution['basic_all']+solution['angular-chart'])

@chartView.route('/chartView/polarChart')
def showPolarChart():
    return render_template("/chartView/polarChart.html", weblib=solution['basic_all']+solution['angular-chart'])